package org.ccu.vo;

import java.util.HashMap;

public class Building {
	private HashMap<Integer, Reply> comments;
	
	private String title;
	private String content;
	private int buildingID;
	private String owner;
	
	public String getOwner() {
		return owner;
	}
	public void setOwner(String owner) {
		this.owner = owner;
	}
	public int getBuildingID() {
		return buildingID;
	}
	public void setBuildingID(int buildingID) {
		this.buildingID = buildingID;
	}
	public Building(int buildingID,String source,String content) {
		this.buildingID=buildingID;
		this.title=source;
		this.content=content;

	}
	public Building(int buildingID,String source,String content,String owner ) {
		this.buildingID=buildingID;
		this.title=source;
		this.content=content;
		this.owner=owner;
		
	}
	public HashMap<Integer, Reply> getComments() {
		return comments;
	}
	public void setComments(HashMap<Integer, Reply> comments) {
		this.comments = comments;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void printer(){
		
		System.out.println(title);
		System.out.println(content);

	}
	

}
